package com.qdxwx.data.mapper.book;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.book.BookRequire;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface BookRequireMapper {

    int insertBookRequire(BookRequire bookRequire);

    BookRequire selectById(int id);

    List<BookRequire> selectList(@Param("e") BookRequire bookRequire, @Param("page") PageRequest page);

    int count(@Param("e") BookRequire bookRequire);

    int updateBookRequire(BookRequire bookRequire);

    int deleteById(int id);

}
